ChartTransactionElement
The base class that describes the Orders Or Trades chart element.
Inherits: ChartElement<T>
Implements: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IPersistable, IChartTransactionElement
Constructors
protected ChartTransactionElement()
chartTransactionElement = ChartTransactionElement()
Initialize ChartTransactionElement.
Properties
public Color BuyColor { get; set; }
value = chartTransactionElement.BuyColor
chartTransactionElement.BuyColor = value
Color of graphics element on chart, indicating buy.
public Color BuyStrokeColor { get; set; }
value = chartTransactionElement.BuyStrokeColor
chartTransactionElement.BuyStrokeColor = value
Border color of graphics element on chart, indicating buy.
public double DrawSize { get; set; }
value = chartTransactionElement.DrawSize
chartTransactionElement.DrawSize = value
Draw size.
public Color SellColor { get; set; }
value = chartTransactionElement.SellColor
chartTransactionElement.SellColor = value
Color of graphics element on chart, indicating sell.
public Color SellStrokeColor { get; set; }
value = chartTransactionElement.SellStrokeColor
chartTransactionElement.SellStrokeColor = value
Border color of graphics element on chart, indicating sell.
public string Title { get; set; }
value = chartTransactionElement.Title
chartTransactionElement.Title = value
Series header that will be shown on chart.
public bool UseAltIcon { get; set; }
value = chartTransactionElement.UseAltIcon
chartTransactionElement.UseAltIcon = value
Use alternative icons.
Methods
internal override T CopyTo(T elem)
result = chartTransactionElement.CopyTo(elem)
To fill out a copy of the element.
- elem
- Copy.
Returns: Copy.
protected override string GetGeneratedTitle()
result = chartTransactionElement.GetGeneratedTitle()
Get generated title.
Returns: Auto generate chart element title.
public override void Load(SettingsStorage storage)
chartTransactionElement.Load(storage)
Loads the state of the object from the specified SettingsStorage.
- storage
- The SettingsStorage instance from which to load the data.
public override void Save(SettingsStorage storage)
chartTransactionElement.Save(storage)
Saves the state of the object to the specified SettingsStorage.
- storage
- The SettingsStorage instance to which to save the data.